home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 3 / QRZ Ham Radio Callsign Database - Volume 3.iso / digests / tcp / 930055.txt < prev    next >
Internet Message Format  |  1994-06-04  |  14KB

  1. Date: Sat, 27 Feb 93 04:30:13 PST
  2. From: Advanced Amateur Radio Networking Group <tcp-group@ucsd.edu>
  3. Errors-To: TCP-Group-Errors@UCSD.Edu
  4. Reply-To: TCP-Group@UCSD.Edu
  5. Precedence: Bulk
  6. Subject: TCP-Group Digest V93 #55
  7. To: tcp-group-digest
  8.  
  9.  
  10. TCP-Group Digest            Sat, 27 Feb 93       Volume 93 : Issue   55
  11.  
  12. Today's Topics:
  13.                    GRI 2.0m and multiple FTP drives
  14.                             Long Messages
  15.                           Mind your layers!
  16.                            Open Squelch SCC
  17.                   physical layer and FEC engineering
  18.                                Protocls
  19.      Use of fixed-length data fields considered harmful. (2 msgs)
  20.  
  21. Send Replies or notes for publication to: <TCP-Group@UCSD.Edu>.
  22. Subscription requests to <TCP-Group-REQUEST@UCSD.Edu>.
  23. Problems you can't solve otherwise to brian@ucsd.edu.
  24.  
  25. Archives of past issues of the TCP-Group Digest are available
  26. (by FTP only) from UCSD.Edu in directory "mailarchives".
  27.  
  28. We trust that readers are intelligent enough to realize that all text
  29. herein consists of personal comments and does not represent the official
  30. policies or positions of any party.  Your mileage may vary.  So there.
  31. ----------------------------------------------------------------------
  32.  
  33. Date: 26 Feb 1993 23:36:08 +0800
  34. From: RON MURRAY <NMURRAYR@cc.curtin.edu.au>
  35. Subject: GRI 2.0m and multiple FTP drives
  36. To: JT@zfja-gate.fuw.edu.pl
  37.  
  38.    I implemented Jerzy's code into GRI 2.0m this evening, and all seems to
  39. be going well (so far, anyway). I will test it over the next few days.
  40.  
  41.    One problem that I have discovered so far is that strange things happen
  42. if you try and CD to a floppy drive and there is no disk in the drive (yeah,
  43. I know, but the average user will try *anything* ....). Currently it seems
  44. to fill the monitor screen with junk for some reason; it does, however,
  45. recover ok.
  46.  
  47.    This seems to be a problem with the Borland library, or even lower: the
  48. NOS code is quite simple at this point. I attempted to add similar code for the
  49. local CD command (I have two hard drives; it seems silly to be restricted
  50. to one when using NOS), with much the same result when I attempted a DIR
  51. or CD to a drive with no floppy inserted. I'll persevere with it, although
  52. I suppose I'd better make sure it doesn't interfere with the TMPNAM stuff!
  53. Apart from the above effect, however, it does seem to work (so far...).
  54.  
  55.    It would probably also be a good idea to allow access to other drives
  56. from the mailbox W, D and U commands. The only problem I see with this is
  57. the mailbox permissions: either these will have to be repeated for each drive
  58. like:
  59.  
  60. fred blahblah c:files 127 d:/morefile 127 a: 127 b: 127
  61.  
  62.    which is messy, especially if you want to restrict writing to floppies
  63. (it takes time to calculate the permission values), or (much better, IMHO)
  64. something like:
  65.  
  66. fred blahblah c:/files 127 d:/morefile 3 a: 1 b: 1
  67.  
  68.    and take the mailbox permissions from the first permissions field.
  69.  
  70.    It's quite possible that the code already does this; I must admit that I
  71. haven't checked.
  72.  
  73.  .....Ron
  74.  
  75.                                  ***
  76.  Ron Murray
  77.  Internet: nmurrayr@cc.curtin.edu.au
  78.    "Women are like elephants to me -- I like to look at 'em, but I wouldn't
  79.        want to own one."     -- W. C. Fields
  80.  
  81. ------------------------------
  82.  
  83. Date: Fri, 26 Feb 93 18:48:04 CST
  84. From: jimh%kd4ldo.tcman.ampr.org@skeggi.vware.mn.org
  85. Subject: Long Messages
  86. To: tcpgroup@kd4ldo.tcman.ampr.org
  87.  
  88. C'mon, people....This has little relavency to the purpose of tcp-group.  Use
  89. whatever compression technique is appropriate for the platform(s) the file
  90. is for, make it available for ftp somewhere, and send a message informing
  91. people where the file is.  Let's not turn tcp-group into a "this compression
  92. technique is better than that one!" jihad.
  93.  
  94. Back to networking...what tcp-group is for.
  95. ----
  96. Jim Henderson, KD4LDO/W0 jimh@kd4ldo.ampr.org [44.94.249.38] on 144.99 MHz
  97. Crystal, MN                     Internet:  jimh%kd4ldo@skeggi.vware.mn.org
  98. CIS:  71321,1461                Alt. Internet:  hendersj@alpha.db.erau.edu
  99.  
  100. "Don't ask me how it works or I'll start to whimper!" - Arthur Dent
  101.  
  102. ------------------------------
  103.  
  104. Date: Fri, 26 Feb 1993 14:10:06 -0800 (PST)
  105. From: Bruce Perens <bruce@pixar.com>
  106. Subject: Mind your layers!
  107. To: Mike Westerhof DSEM Northern IL <mwester@sunbird.central.sun.com>
  108.  
  109. On Fri, 26 Feb 1993, Mike Westerhof DSEM Northern IL wrote:
  110. > As we begin using variable length everythings, we make error-checking much
  111. > more difficult -- a bogus frame might result in a 4096 byte destination
  112. > address -- difficult to deal with at best!
  113. > I suggest that we CRC check or at least checksum the header.
  114.  
  115. What you missed is that we are discussing the Link-layer packet.
  116. The error checking goes in the Media Access Control Layer, which is
  117. below the Link Access Layer. When Phil and Glen talk about FEC, they are
  118. discussing MAC-Layer issues. When Warren and I discuss addresses, we are
  119. talking about the Link-layer.
  120.  
  121. Here's the protocol stack (building on the way Warren specified it),
  122. which is based on the well-known ISO model of networking: 
  123.  
  124. Transaction Control Protocol (TCP): A reliable sequenced packet stream
  125. service. Client of IP.
  126.  
  127. Internet Protocol (IP): A reliable unsequenced datagram service. Client
  128. of the Link Layer.
  129.  
  130. The Link Layer: Provides an unreliable packet service between two
  131. stations. Is a client of the Medium Access Control layer. 
  132.  
  133. Medium Access Control Layers: Error correction belongs here. Is a client
  134. of the physical layer. This is where your checksum, etc., belongs.
  135.  
  136. Physical Layer: The actual hardware.
  137.  
  138.  
  139.  
  140.      Bruce
  141.  
  142. ------------------------------
  143.  
  144. Date: Fri, 26 Feb 93 17:19:56 GMT
  145. From: agodwin@acorn.co.uk (Adrian Godwin)
  146. Subject: Open Squelch SCC
  147. To: TCP-Group@UCSD.Edu
  148.  
  149. Barry VE3JF wrote:
  150. >               How about getting one of those TAPR 'DCD upgrade' kits
  151. > with the built-in state machine DCD, and marrying it up to the SCC card?
  152. > Not the cheapest or most elegant solution, but it should work...
  153.  
  154. I can't remember if the recovered clock is available on the 8530 (I think it 
  155. might be a configuration option for the clock pins, but I don't have the 
  156. book to hand), but if it is, a simpler solution than a second DPLL may be 
  157. possible.
  158.  
  159. A PLL is in lock when there's a fixed phase relationship between clock and 
  160. data (that's obvious, right?). If you can detect this, you can detect 
  161. DCD : on a Hitachi 64180S (which provides a recovered clock output having 
  162. a fixed phase shift from the data edges), this detector is just a D-type 
  163. flipflop with received data on the clock input and recovered clock on the 
  164. D input.
  165.  
  166. When the loop's in lock, the D-type output is stable with a value that
  167. depends on the phase difference between the recovered clock and the data : 
  168. when not in lock, it jitters madly. It can be filtered to generate DCD 
  169. just like the TAPR DPLL lock output.
  170.  
  171. I used a spare timer-counter input to count edges on the D-type output,
  172. and avoided any need for an analogue filter at all (the counter's
  173. preloaded with a constant that defines the sensitivity - if it doesn't 
  174. overflow within a fixed time period, the loop must be locked).
  175.  
  176. -adrian
  177.  
  178. ------------------------------
  179.  
  180. Date: Fri, 26 Feb 93 16:32 CST
  181. From: Jay Maynard                          <S0JM@ADMIN.HSC.UTH.TMC.EDU>
  182. Subject: physical layer and FEC engineering
  183. To: goldstein@CARAFE.TAY2.DEC.COM(k1io, FN42jk)
  184.  
  185. Once again, I feel compelled to speak up in defense of folks who can't
  186. afford to dedicate high-powered computer hardware to packet radio...
  187. (No, Fred, I'm not picking on you specifically... :-)
  188.  
  189. Fred Goldstein, K1IO, writes:
  190. > Simple convolutional coding isn't very CPU-intensive.  I don't
  191. > know the procedures myself, but I'm sure it can be done on a
  192. > 386 at packet radio speeds with no great effort.
  193.  
  194. Here we go again, with the $2500 TNC. (The price has dropped since I
  195. complained about the $5000 TNC a while back.) While I have a 386DX-25
  196. dedicated to packet radio, I'm decidedly in the minority. If I had
  197. just one computer, it'd either be too low-powered to do the fancy schemes
  198. proposed or would be doing other things besides packet. That computer
  199. would have better things to do besides fold, spindle, mutilate, and
  200. stuff bits. Is this the kind of thing that can be offloaded to TNC-class
  201. hardware? How about a TNC3 design, with not a lot of hardware around
  202. an NEC V25 (neat little 8086-class micro we're building repeater
  203. controllers with)?
  204.  
  205. We're not going to get anywhere at all if we keep insisting on doing
  206. things that require computers the class of small DP centers to do stuff
  207. with; we're artificially limiting our customer base for little good
  208. reason.
  209.  
  210. ...Jay, K5ZC
  211.  
  212. ------------------------------
  213.  
  214. Date: Fri, 26 Feb 1993 12:50:33 -0800 (PST)
  215. From: Bruce Perens <bruce@pixar.com>
  216. Subject: Protocls
  217. To: Alan Cox <iiitac@pyr.swan.ac.uk>
  218.  
  219. On Thu, 25 Feb 1993, Alan Cox wrote:
  220. > Since bandwidth is so expensive and tx/rx swithcing causes a lot of the
  221. > packet losses, maybe the protocol should allow multiple messages to
  222. > different destinations with one source header containing all the
  223. > constant information followed by a set of blocks containing destination
  224. > address and data areas. 
  225.  
  226. Let's discuss this seperately for each layer:
  227.  
  228. It's easy to send more than one physical-layer packet in a "batch" once
  229. you've started transmitting, and my TNC does this whether I want it to
  230. or not. The redundant things that you could get rid of at the physical
  231. layer would be any time spent contending for the channel, the transmit
  232. delay, and the synchronization sequence that the transport would need to
  233. establish the clock when it started transmitting, since these need happen
  234. only once when several physical-layer packets are sent together.
  235.  
  236. The Medium Access Control layer could have the capability to concatenate
  237. several small Link-layer packets in a single MAC-layer packet. Of
  238. course, such concentration reduces reliability since you could lose a
  239. lot of packets instead of just one when the MAC-layer has an error that
  240. it can't recover from. This depends on your form of error checking. For
  241. FEC, this might be a big win. If you implement data-compression at the
  242. MAC layer, and do FEC on compressed data, it could be a tremendous win.
  243.  
  244. At the Link Access Layer, you suggest that the source address could be
  245. redundant. You assume that the source address is the same for each
  246. packet - this may not be true, as in the case where the same station
  247. responds to "KD6OTD-1" and "KD6OTD-2". I would prefer not to concentrate
  248. source addresses at this layer, but if you used a data-compression
  249. scheme at the MAC layer you could get the same effect.
  250.  
  251. One place where it is important to put lots of information for different
  252. connections in one transmission is the case of terminal service. Someone
  253. mentioned "echo minigrams" a few days ago. In the case of the Telnet
  254. service with remote echo, you'd get this kind of thing, where a packet
  255. would contain only one character of data: the echo of your last
  256. keystroke. If you have one server that transmits a lot of these onto a
  257. CSMA/CD network, it is generally best for that server to concatenate all
  258. of the minigrams into one transmission. I've worked on a system where
  259. echo minigrams were saved up, and transmitted in a batch every tenth of
  260. a second. That worked very well - I would not notice the delay on a CRT
  261. terminal, but I would notice it on a teletype, only because I could
  262. _hear_ the delay. I don't know what layer concentrated the minigrams.
  263.  
  264.      Bruce
  265.  
  266. ------------------------------
  267.  
  268. Date: Fri, 26 Feb 93 09:32:37 CST
  269. From: mwester@sunbird.Central.Sun.COM (Mike Westerhof DSEM Northern IL)
  270. Subject: Use of fixed-length data fields considered harmful.
  271. To: tcp-group@ucsd.edu
  272.  
  273. As we begin using variable length everythings, we make error-checking much
  274. more difficult -- a bogus frame might result in a 4096 byte destination
  275. address -- difficult to deal with at best!
  276.  
  277. I suggest that we CRC check or at least checksum the header.
  278.  
  279. ------------------------------
  280.  
  281. Date: Fri, 26 Feb 1993 11:49:23 -0800 (PST)
  282. From: Bruce Perens <bruce@pixar.com>
  283. Subject: Use of fixed-length data fields considered harmful.
  284. To: Warren Toomey <wkt@csadfa.cs.adfa.oz.au>
  285.  
  286. > Ok, but don't have a separate field for address type, just use the first
  287. > address octet as address type.
  288. Fine with me!
  289.  
  290. Thus, we have the basic form of our packet as submitted by Warren:
  291.  
  292. Protocol   2 Octets
  293. Destination address length: 1 Octet.
  294. Host address length:  1 Octet
  295. Data length:   2 Octets
  296. Destination address:  0-255 Octets
  297. Host address:   0-255 Octets
  298. Pad:    0-3 Octets to align data to quadword.
  299. Data:    0-65535 Octets.
  300.  
  301. Before anyone objects, the maximum length of the packet, and thus the
  302. maximum length of the data, should be defined by the media access layer.
  303. Thus, most media access layers won't allow you 65535 octets of data.
  304.  
  305. Now, we should propose a straw-man set of addressing forms. Of course,
  306. not all stations will parse all address forms - many may only elect to
  307. parse only one form. The ones I would start with are: 
  308.  
  309. A zero-length destination address means "broadcast".
  310.  
  311. Type 0: An amateur radio callsign in ASCII (_not_ shifted as in AX.25).
  312.  The callsign may optionally be followed by an ASCII hyphen,
  313.  and an ASCII field indicating the substation. For example,
  314.  "KD6OTD", "KD6OTD-1", and "KD6OTD-mobile1" would be legal
  315.  values for a type-0 address. Do we want case-significance for
  316.  ASCII?
  317.  
  318. Type 1: Same as above, but in a wide character set like UNICODE, for
  319.  people who like non-Latin alphabets.
  320.  
  321. Type 2: A hierarchical address. Someone care to design one?
  322.  
  323. Type 225-255: For experimental use.
  324.  
  325. I would assume that IP addresses belong in the data field, but you
  326. might wish to correct me.
  327.      Bruce
  328.  
  329. ------------------------------
  330.  
  331. Date: (null)
  332. From: (null)
  333. Protocol - 2 octets
  334. Src addrlen - 2 octets
  335. Dest addrlen - 2 octets
  336. Data length - 2 octets
  337. Header CRC - 2 octets
  338.  
  339. Src addr - n octets
  340. Dest addr - m octets
  341.  
  342. Data  - x octets
  343.  
  344. Mike
  345.  
  346. ------------------------------
  347.  
  348. End of TCP-Group Digest V93 #55
  349. ******************************
  350. ******************************
  351.